package com.wan.usercenter.pojo.entity;

import java.io.Serializable;
import java.util.Date;

public class SysUpgradeLog implements Serializable {
    private Long id;

    private String title;

    private String content;

    private Long subSystemId;

    private String oldVersion;

    private String newVersion;

    private Date upgradeTime;

    private String upgradeRemark;

    private String upgradeOperator;

    private Long tenantId;

    private Long createdBy;

    private String creator;

    private Date createdTime;

    private Long updatedBy;

    private String modifier;

    private Date updatedTime;

    private Byte status;

    private Long version;

    private static final long serialVersionUID = 1L;

    public SysUpgradeLog(Long id, String title, String content, Long subSystemId, String oldVersion, String newVersion, Date upgradeTime, String upgradeRemark, String upgradeOperator, Long tenantId, Long createdBy, String creator, Date createdTime, Long updatedBy, String modifier, Date updatedTime, Byte status, Long version) {
        this.id = id;
        this.title = title;
        this.content = content;
        this.subSystemId = subSystemId;
        this.oldVersion = oldVersion;
        this.newVersion = newVersion;
        this.upgradeTime = upgradeTime;
        this.upgradeRemark = upgradeRemark;
        this.upgradeOperator = upgradeOperator;
        this.tenantId = tenantId;
        this.createdBy = createdBy;
        this.creator = creator;
        this.createdTime = createdTime;
        this.updatedBy = updatedBy;
        this.modifier = modifier;
        this.updatedTime = updatedTime;
        this.status = status;
        this.version = version;
    }

    public SysUpgradeLog() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Long getSubSystemId() {
        return subSystemId;
    }

    public void setSubSystemId(Long subSystemId) {
        this.subSystemId = subSystemId;
    }

    public String getOldVersion() {
        return oldVersion;
    }

    public void setOldVersion(String oldVersion) {
        this.oldVersion = oldVersion == null ? null : oldVersion.trim();
    }

    public String getNewVersion() {
        return newVersion;
    }

    public void setNewVersion(String newVersion) {
        this.newVersion = newVersion == null ? null : newVersion.trim();
    }

    public Date getUpgradeTime() {
        return upgradeTime;
    }

    public void setUpgradeTime(Date upgradeTime) {
        this.upgradeTime = upgradeTime;
    }

    public String getUpgradeRemark() {
        return upgradeRemark;
    }

    public void setUpgradeRemark(String upgradeRemark) {
        this.upgradeRemark = upgradeRemark == null ? null : upgradeRemark.trim();
    }

    public String getUpgradeOperator() {
        return upgradeOperator;
    }

    public void setUpgradeOperator(String upgradeOperator) {
        this.upgradeOperator = upgradeOperator == null ? null : upgradeOperator.trim();
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

    public Long getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Long createdBy) {
        this.createdBy = createdBy;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Long getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(Long updatedBy) {
        this.updatedBy = updatedBy;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier == null ? null : modifier.trim();
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", title=").append(title);
        sb.append(", content=").append(content);
        sb.append(", subSystemId=").append(subSystemId);
        sb.append(", oldVersion=").append(oldVersion);
        sb.append(", newVersion=").append(newVersion);
        sb.append(", upgradeTime=").append(upgradeTime);
        sb.append(", upgradeRemark=").append(upgradeRemark);
        sb.append(", upgradeOperator=").append(upgradeOperator);
        sb.append(", tenantId=").append(tenantId);
        sb.append(", createdBy=").append(createdBy);
        sb.append(", creator=").append(creator);
        sb.append(", createdTime=").append(createdTime);
        sb.append(", updatedBy=").append(updatedBy);
        sb.append(", modifier=").append(modifier);
        sb.append(", updatedTime=").append(updatedTime);
        sb.append(", status=").append(status);
        sb.append(", version=").append(version);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}